<include file="Common/index_header-new" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/pagination.css" />
<div class="main-body" >
	<div class="container" id="category_list_div"></div>
	<script id="category_list_content" type="text/html">		
			<div class="address-column row">
				<div class="address pull-left">
					<i class="fa fa-map-marker"></i>
					<a href="/">首页</a>
					<if condition="$type eq 'hot' ">
						<a class="active">热门数据</a>
						<elseif condition="$type eq 'recommend'" />
						<a class="active">精品数据</a>
						<else/>
						<a class="active">其他</a>
					</if>
				</div>
				<div class="input-group pull-right">
					<span class="input-group-btn {{if order ==1 }}active{{/if}}"><button type="button" class="btn btn-address _order_opt" data-type='1'>默认排序</button></span>
					<span class="input-group-btn {{if order !=1 }}active{{/if}}"><button type="button" class="btn btn-address _order_opt" data-type='2'>调用次数</button></span>
				</div>
			</div>
			<div class="row">

				{{each list as value key}}
				<div class="col-xs-6 col-sm-4 col-md-3 list">
					<div class="moco-course-wrap">
						<a href="/Index/detail.html?sid={{value.service_id}}" target="_blank">
							<div class="moco-course-box">
								<img src="{{value.service_logo}}" width="100%">
								<div class="moco-course-intro">
									<h3>
										{{if value.auth_type==2}}
										<b>企</b>
										{{else}}
										<b style='background:#f8b551;'>个</b>
										{{/if}}
										{{value.service_name}}
									</h3>
									<p> {{value.service_introduction}}</p>
									<ul class="list-unstyled">
										<li class="col-xs-4"><a>食品药品</a></li>
										<li class="col-xs-4"><a>食品药品</a></li>
										<li class="col-xs-4"><a>食品药品</a></li>
									</ul>
								</div>								
								<div class="moco-course-bottom">
									<span class="l">{{if value.price > 0}}<i>¥{{value.price}}</i>起{{else}}<i>免费</i>{{/if}}</span>
									<span class="r">{{value.call_num}}人在用</span></div>
							</div>
						</a>
					</div>
				</div>

				{{/each}}

			</div>
	</script>
	<!--页码-->
	<div style="height: 40px;">
		<div class="_page M-box" style="float: right;"></div>
	</div>
</div>
<!--隐藏域数据-->
<input type="hidden" value="{$type}" class="_data_type" />
<include file="Common/index_footer-new" />
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/artTemplate.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/categoryrecommend.js?v=20161027"></script>
<script type="text/javascript" src='__PUBLIC__/home/js/jquery.pagination.min.js'></script>
</body>
</html>